﻿using System;
using System.Collections.Generic;
using System.Drawing;

namespace MediaLibraryManagement.Entity
{
    public class Movie : IEntity
    {
        private int _id;
        private string _title;
        private string _storyline;
        private string _genre;
        private int _length;
        private string _language;
        private string _director;
        private string _scriptWriters;
        private List<Cast> _casting;
        private string _productionCompany;
        private float _rate;
        private int _ratingCount;
        private DateTime _releaseDate;
        private string _imdb;
        private Image _image;

        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        public string Storyline
        {
            get { return _storyline; }
            set { _storyline = value; }
        }

        public string Genre
        {
            get { return _genre; }
            set { _genre = value; }
        }

        public int Length
        {
            get { return _length; }
            set { _length = value; }
        }

        public string Language
        {
            get { return _language; }
            set { _language = value; }
        }

        public string Director
        {
            get { return _director; }
            set { _director = value; }
        }

        public string ScriptWriters
        {
            get { return _scriptWriters; }
            set { _scriptWriters = value; }
        }

        public List<Cast> Casting
        {
            get { return _casting; }
            set { _casting = value; }
        }

        public string ProductionCompany
        {
            get { return _productionCompany; }
            set { _productionCompany = value; }
        }

        public float Rate
        {
            get { return _rate; }
            set { _rate = value; }
        }

        public int RatingCount
        {
            get { return _ratingCount; }
            set { _ratingCount = value; }
        }

        public DateTime ReleaseDate
        {
            get { return _releaseDate; }
            set { _releaseDate = value; }
        }

        public string IMDB
        {
            get { return _imdb; }
            set { _imdb = value; }
        }

        public Image Image
        {
            get { return _image; }
            set { _image = value; }
        }

        public Movie()
        {
            _rate = 0;
        }
    }
}